'use strict';

function choose_multiples_of_three(collection) {
  let arr=collection.filter(
    function filtered(element){
      return element%3==0;
    }
  );
  return arr;
}

module.exports = choose_multiples_of_three;
